From 47d265319bc1d8711c147c1e85d3cce699543d4c Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 1 May 2007 10:18:11 +0100 Subject: [PATCH] xend: Fix spurious store changes on rename/migrate _storeChanged() was incorrectly comparing a string to an sxpr, thus always firing and causing unnecessary watches to be fired in the domU. Signed-off-by: John Levon --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 4dc288314c..c082c19090 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -885,7 +885,7 @@ class XendDomainInfo: # Check whether image definition has been updated image_sxp = self._readVm('image') - if image_sxp and image_sxp != self.info.image_sxpr(): + if image_sxp and image_sxp != sxp.to_string(self.info.image_sxpr()): self.info.update_with_image_sxp(sxp.from_string(image_sxp)) changed = True -- 2.30.2